Skip to content

ci: add reproducible crate publishing workflow#6

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
release/publish-runtime-0.2.0-20260723
Jul 23, 2026
Merged

ci: add reproducible crate publishing workflow#6
ZhiXiao-Lin merged 1 commit into
mainfrom
release/publish-runtime-0.2.0-20260723

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • add a manually dispatched crate publication workflow pinned to an exact commit SHA
  • verify SemVer, source commit, Cargo metadata, formatting, tests, and cargo publish --dry-run before upload
  • use a crates.io-compliant project User-Agent and wait for registry visibility
  • create an idempotent GitHub Release at the published source commit

Motivation

A3S Box v3.1.0 depends on a3s-runtime at commit 91a1b4c67ef2691915f2409a8cf835f7534020ff. Publishing that exact 0.2.0 crate is required before the Box runtime and SDK crates can be published.

Validation

  • workflow YAML parsed locally
  • all embedded Bash blocks pass bash -n
  • cargo publish --locked --dry-run passes at the exact release commit

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 145cbb6 into main Jul 23, 2026
2 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the release/publish-runtime-0.2.0-20260723 branch July 23, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant